package de.justphil.tcg.tcgserver.game.mechanics.monster;

import java.util.LinkedList;

public class MonsterList extends LinkedList<Monster> {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2429395237452039071L;

	/**
	 * @param monster
	 *            if monster is null no element will be added.
	 */
	@Override
	public boolean add(Monster monster) {

		if (monster == null) {

			return false;

		} else {

			return super.add(monster);
		}
	}

}
